#ifndef VLAUNCHER_H
#define VLAUNCHER_H

#include <QWidget>
#include <QPushButton>
#include <QSpinBox>
#include <QFormLayout>
#include <QVBoxLayout>
#include <QStringList>
#include <QComboBox>
#include <QDir>

#include "VServer.h"

class VLauncher : public QWidget
{
    Q_OBJECT
    private:
    QPushButton *connect_button;
    QSpinBox *port_spin;
    QFormLayout *layout_form;
    QVBoxLayout *layoutp;
    QComboBox *map_combo;

    VServer *v_server;

    public:
    VLauncher();
    ~VLauncher();

    QStringList fill_map_list();

    public slots:
    void start();
};

#endif // VLAUNCHER_H
